Optimal. Leaf size=55 \[ \frac {15 \text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{32 a}+\frac {3 \text {Chi}\left (4 \tanh ^{-1}(a x)\right )}{16 a}+\frac {\text {Chi}\left (6 \tanh ^{-1}(a x)\right )}{32 a}+\frac {5 \log \left (\tanh ^{-1}(a x)\right )}{16 a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {6115, 3393,
3382} \begin {gather*} \frac {15 \text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{32 a}+\frac {3 \text {Chi}\left (4 \tanh ^{-1}(a x)\right )}{16 a}+\frac {\text {Chi}\left (6 \tanh ^{-1}(a x)\right )}{32 a}+\frac {5 \log \left (\tanh ^{-1}(a x)\right )}{16 a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3382
Rule 3393
Rule 6115
Rubi steps
\begin {align*} \int \frac {1}{\left (1-a^2 x^2\right )^4 \tanh ^{-1}(a x)} \, dx &=\frac {\text {Subst}\left (\int \frac {\cosh ^6(x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a}\\ &=\frac {\text {Subst}\left (\int \left (\frac {5}{16 x}+\frac {15 \cosh (2 x)}{32 x}+\frac {3 \cosh (4 x)}{16 x}+\frac {\cosh (6 x)}{32 x}\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a}\\ &=\frac {5 \log \left (\tanh ^{-1}(a x)\right )}{16 a}+\frac {\text {Subst}\left (\int \frac {\cosh (6 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{32 a}+\frac {3 \text {Subst}\left (\int \frac {\cosh (4 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{16 a}+\frac {15 \text {Subst}\left (\int \frac {\cosh (2 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{32 a}\\ &=\frac {15 \text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{32 a}+\frac {3 \text {Chi}\left (4 \tanh ^{-1}(a x)\right )}{16 a}+\frac {\text {Chi}\left (6 \tanh ^{-1}(a x)\right )}{32 a}+\frac {5 \log \left (\tanh ^{-1}(a x)\right )}{16 a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 40, normalized size = 0.73 \begin {gather*} \frac {15 \text {Chi}\left (2 \tanh ^{-1}(a x)\right )+6 \text {Chi}\left (4 \tanh ^{-1}(a x)\right )+\text {Chi}\left (6 \tanh ^{-1}(a x)\right )+10 \log \left (\tanh ^{-1}(a x)\right )}{32 a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.51, size = 40, normalized size = 0.73
method | result | size |
derivativedivides | \(\frac {\frac {5 \ln \left (\arctanh \left (a x \right )\right )}{16}+\frac {15 \hyperbolicCosineIntegral \left (2 \arctanh \left (a x \right )\right )}{32}+\frac {3 \hyperbolicCosineIntegral \left (4 \arctanh \left (a x \right )\right )}{16}+\frac {\hyperbolicCosineIntegral \left (6 \arctanh \left (a x \right )\right )}{32}}{a}\) | \(40\) |
default | \(\frac {\frac {5 \ln \left (\arctanh \left (a x \right )\right )}{16}+\frac {15 \hyperbolicCosineIntegral \left (2 \arctanh \left (a x \right )\right )}{32}+\frac {3 \hyperbolicCosineIntegral \left (4 \arctanh \left (a x \right )\right )}{16}+\frac {\hyperbolicCosineIntegral \left (6 \arctanh \left (a x \right )\right )}{32}}{a}\) | \(40\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 216 vs.
\(2 (47) = 94\).
time = 0.35, size = 216, normalized size = 3.93 \begin {gather*} \frac {20 \, \log \left (\log \left (-\frac {a x + 1}{a x - 1}\right )\right ) + \operatorname {log\_integral}\left (-\frac {a^{3} x^{3} + 3 \, a^{2} x^{2} + 3 \, a x + 1}{a^{3} x^{3} - 3 \, a^{2} x^{2} + 3 \, a x - 1}\right ) + \operatorname {log\_integral}\left (-\frac {a^{3} x^{3} - 3 \, a^{2} x^{2} + 3 \, a x - 1}{a^{3} x^{3} + 3 \, a^{2} x^{2} + 3 \, a x + 1}\right ) + 6 \, \operatorname {log\_integral}\left (\frac {a^{2} x^{2} + 2 \, a x + 1}{a^{2} x^{2} - 2 \, a x + 1}\right ) + 6 \, \operatorname {log\_integral}\left (\frac {a^{2} x^{2} - 2 \, a x + 1}{a^{2} x^{2} + 2 \, a x + 1}\right ) + 15 \, \operatorname {log\_integral}\left (-\frac {a x + 1}{a x - 1}\right ) + 15 \, \operatorname {log\_integral}\left (-\frac {a x - 1}{a x + 1}\right )}{64 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a x - 1\right )^{4} \left (a x + 1\right )^{4} \operatorname {atanh}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\mathrm {atanh}\left (a\,x\right )\,{\left (a^2\,x^2-1\right )}^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________